<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Nourriture">
<div class="blocTexte">
<h3>Menu intégral</h3>
<a href="index.jsp" >Retour à l'accueil</a>
<br /> 

<form action="AjoutMenu" method="post">
	<table align="center">
		<tr>
			<td><label>Nom : </label></td>
			<td>
				<input type="text" name="nom_menu" size="20" />
			</td>	
		</tr>
		<!--<tr>
			<td><label>Prix : </label></td>
			<td>
				<input type="text" name="prix_menu" size="20" />
			</td>	
		</tr>-->
		<tr>
			<td><label>Boissons : </label></td>
			<td>
				<select name="boissons">
					<xsl:for-each select="//Boisson">
						<option>
							<xsl:attribute name="value"><xsl:value-of select="@nomBoisson"/>
							</xsl:attribute>
							<xsl:value-of select="@nomBoisson"/>
						</option>
					</xsl:for-each>
				</select>		
			</td>
		</tr>
		<tr>
			<td><label>Pizzas : </label></td>
			<td>
				<select name="pizzas">
					<xsl:for-each select="//Pizza">
						<option>
							<xsl:attribute name="value"><xsl:value-of select="@nomPizza"/>
							</xsl:attribute>
							<xsl:value-of select="@nomPizza" />
						</option>
					</xsl:for-each>
				</select>
			</td>
		</tr>
			<tr>
			<td><label>Salades : </label></td>
			<td>
				<select name="salades">
					<xsl:for-each select="//Salade">
						<option>
							<xsl:attribute name="value"><xsl:value-of select="@nomSalade"/>
							</xsl:attribute>
							<xsl:value-of select="@nomSalade" />
						</option>
					</xsl:for-each>
				</select>
			</td>
		</tr>
		<tr>
			<td><label>Desserts : </label></td>
			<td>
				<select name="desserts">
					<xsl:for-each select="//Dessert">
						<option>
							<xsl:attribute name="value"><xsl:value-of select="@nomDessert"/>
							</xsl:attribute>
							<xsl:value-of select="@nomDessert" />
						</option>
					</xsl:for-each>
				</select>
			</td>
		</tr>
		<tr align="center">
			<td colspan="2">
				<input type="submit" value="Ajouter" />
				<input type="reset"	value="Réinitialiser" />
			</td>
		</tr>	
			
	</table>
</form>
</div>
</xsl:template>

</xsl:stylesheet>
